import { http } from "./reqeust";

export const getClassify = () => {
  return http.get(
    "/?s=/ApiShop/classify&aid=4&platform=wx&session_id=e5b2ca7fd8a27086568cd148f731cc96&pid=0&scene=1001&cid=&bid="
  );
};

export const getProlist = (data) => {
  return http.post(
    "/?s=/ApiShop/getprolist&aid=4&platform=wx&session_id=e5b2ca7fd8a27086568cd148f731cc96&pid=0&scene=1001",
    data
  );
};

export const getProductDetail = (id) => {
  return http.get(
    "/?s=/ApiShop/product&aid=4&platform=wx&session_id=e5b2ca7fd8a27086568cd148f731cc96&pid=0&scene=1001&longitude=&latitude=&mendian_id=&id=" +
      id
  );
};
